function clone<T>(date: T): T {
  return JSON.parse(JSON.stringify(date));
}

export default clone;